﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Duality.Drawing
{
	public enum UnicodeBlock : ushort
	{
		[UnicodeRange(0x0000, 0x007F)] BasicLatin,
		[UnicodeRange(0x0080, 0x00FF)] Latin1Supplement,
		[UnicodeRange(0x0100, 0x017F)] LatinExtendedA,
		[UnicodeRange(0x0180, 0x024F)] LatinExtendedB,
		[UnicodeRange(0xFB00, 0xFB4F)] AlphabeticPresentationForms,
		[UnicodeRange(0x0600, 0x06FF)] Arabic,
		[UnicodeRange(0x08A0, 0x08FF)] ArabicExtendedA,
		[UnicodeRange(0xFB50, 0xFDFF)] ArabicPresentationFormsA,
		[UnicodeRange(0xFE70, 0xFEFF)] ArabicPresentationFormsB,
		[UnicodeRange(0x0750, 0x077F)] ArabicSupplement,
		[UnicodeRange(0x0530, 0x058F)] Armenian,
		[UnicodeRange(0x2190, 0x21FF)] Arrows,
		[UnicodeRange(0x1B00, 0x1B7F)] Balinese,
		[UnicodeRange(0xA6A0, 0xA6FF)] Bamum,
		[UnicodeRange(0x1BC0, 0x1BFF)] Batak,
		[UnicodeRange(0x0980, 0x09FF)] Bengali,
		[UnicodeRange(0x2580, 0x259F)] BlockElements,
		[UnicodeRange(0x3100, 0x312F)] Bopomofo,
		[UnicodeRange(0x31A0, 0x31BF)] BopomofoExtended,
		[UnicodeRange(0x2500, 0x257F)] BoxDrawing,
		[UnicodeRange(0x2800, 0x28FF)] BraillePatterns,
		[UnicodeRange(0x1A00, 0x1A1F)] Buginese,
		[UnicodeRange(0x1740, 0x175F)] Buhid,
		[UnicodeRange(0xAA00, 0xAA5F)] Cham,
		[UnicodeRange(0x13A0, 0x13FF)] Cherokee,
		[UnicodeRange(0xAB70, 0xABBF)] CherokeeSupplement,
		[UnicodeRange(0x3300, 0x33FF)] CJKCompatibility,
		[UnicodeRange(0xFE30, 0xFE4F)] CJKCompatibilityForms,
		[UnicodeRange(0xF900, 0xFAFF)] CJKCompatibilityIdeographs,
		[UnicodeRange(0x2E80, 0x2EFF)] CJKRadicalsSupplement,
		[UnicodeRange(0x31C0, 0x31EF)] CJKStrokes,
		[UnicodeRange(0x3000, 0x303F)] CJKSymbolsandPunctuation,
		[UnicodeRange(0x4E00, 0x9FFF)] CJKUnifiedIdeographs,
		[UnicodeRange(0x3400, 0x4DBF)] CJKUnifiedIdeographsExtensionA,
		[UnicodeRange(0x0300, 0x036F)] CombiningDiacriticalMarks,
		[UnicodeRange(0x1AB0, 0x1AFF)] CombiningDiacriticalMarksExtended,
		[UnicodeRange(0x20D0, 0x20FF)] CombiningDiacriticalMarksforSymbols,
		[UnicodeRange(0x1DC0, 0x1DFF)] CombiningDiacriticalMarksSupplement,
		[UnicodeRange(0xFE20, 0xFE2F)] CombiningHalfMarks,
		[UnicodeRange(0xA830, 0xA83F)] CommonIndicNumberForms,
		[UnicodeRange(0x2400, 0x243F)] ControlPictures,
		[UnicodeRange(0x2C80, 0x2CFF)] Coptic,
		[UnicodeRange(0x20A0, 0x20CF)] CurrencySymbols,
		[UnicodeRange(0x0400, 0x04FF)] Cyrillic,
		[UnicodeRange(0x2DE0, 0x2DFF)] CyrillicExtendedA,
		[UnicodeRange(0xA640, 0xA69F)] CyrillicExtendedB,
		[UnicodeRange(0x1C80, 0x1C8F)] CyrillicExtendedC,
		[UnicodeRange(0x0500, 0x052F)] CyrillicSupplement,
		[UnicodeRange(0x0900, 0x097F)] Devanagari,
		[UnicodeRange(0xA8E0, 0xA8FF)] DevanagariExtended,
		[UnicodeRange(0x2700, 0x27BF)] Dingbats,
		[UnicodeRange(0x2460, 0x24FF)] EnclosedAlphanumerics,
		[UnicodeRange(0x3200, 0x32FF)] EnclosedCJKLettersandMonths,
		[UnicodeRange(0x1200, 0x137F)] Ethiopic,
		[UnicodeRange(0x2D80, 0x2DDF)] EthiopicExtended,
		[UnicodeRange(0xAB00, 0xAB2F)] EthiopicExtendedA,
		[UnicodeRange(0x1380, 0x139F)] EthiopicSupplement,
		[UnicodeRange(0x2000, 0x206F)] GeneralPunctuation,
		[UnicodeRange(0x25A0, 0x25FF)] GeometricShapes,
		[UnicodeRange(0x10A0, 0x10FF)] Georgian,
		[UnicodeRange(0x2D00, 0x2D2F)] GeorgianSupplement,
		[UnicodeRange(0x2C00, 0x2C5F)] Glagolitic,
		[UnicodeRange(0x0370, 0x03FF)] GreekandCoptic,
		[UnicodeRange(0x1F00, 0x1FFF)] GreekExtended,
		[UnicodeRange(0x0A80, 0x0AFF)] Gujarati,
		[UnicodeRange(0x0A00, 0x0A7F)] Gurmukhi,
		[UnicodeRange(0xFF00, 0xFFEF)] HalfwidthandFullwidthForms,
		[UnicodeRange(0x3130, 0x318F)] HangulCompatibilityJamo,
		[UnicodeRange(0x1100, 0x11FF)] HangulJamo,
		[UnicodeRange(0xA960, 0xA97F)] HangulJamoExtendedA,
		[UnicodeRange(0xD7B0, 0xD7FF)] HangulJamoExtendedB,
		[UnicodeRange(0xAC00, 0xD7AF)] HangulSyllables,
		[UnicodeRange(0x1720, 0x173F)] Hanunoo,
		[UnicodeRange(0x0590, 0x05FF)] Hebrew,
		[UnicodeRange(0x3040, 0x309F)] Hiragana,
		[UnicodeRange(0x2FF0, 0x2FFF)] IdeographicDescriptionCharacters,
		[UnicodeRange(0x0250, 0x02AF)] IPAExtensions,
		[UnicodeRange(0xA980, 0xA9DF)] Javanese,
		[UnicodeRange(0x3190, 0x319F)] Kanbun,
		[UnicodeRange(0x2F00, 0x2FDF)] KangxiRadicals,
		[UnicodeRange(0x0C80, 0x0CFF)] Kannada,
		[UnicodeRange(0x30A0, 0x30FF)] Katakana,
		[UnicodeRange(0x31F0, 0x31FF)] KatakanaPhoneticExtensions,
		[UnicodeRange(0xA900, 0xA92F)] KayahLi,
		[UnicodeRange(0x1780, 0x17FF)] Khmer,
		[UnicodeRange(0x19E0, 0x19FF)] KhmerSymbols,
		[UnicodeRange(0x0E80, 0x0EFF)] Lao,
		[UnicodeRange(0x1E00, 0x1EFF)] LatinExtendedAdditional,
		[UnicodeRange(0x2C60, 0x2C7F)] LatinExtendedC,
		[UnicodeRange(0xA720, 0xA7FF)] LatinExtendedD,
		[UnicodeRange(0xAB30, 0xAB6F)] LatinExtendedE,
		[UnicodeRange(0x1C00, 0x1C4F)] Lepcha,
		[UnicodeRange(0x2100, 0x214F)] LetterlikeSymbols,
		[UnicodeRange(0x1900, 0x194F)] Limbu,
		[UnicodeRange(0xA4D0, 0xA4FF)] Lisu,
		[UnicodeRange(0x0D00, 0x0D7F)] Malayalam,
		[UnicodeRange(0x0840, 0x085F)] Mandaic,
		[UnicodeRange(0x2200, 0x22FF)] MathematicalOperators,
		[UnicodeRange(0xABC0, 0xABFF)] MeeteiMayek,
		[UnicodeRange(0xAAE0, 0xAAFF)] MeeteiMayekExtensions,
		[UnicodeRange(0x27C0, 0x27EF)] MiscellaneousMathematicalSymbolsA,
		[UnicodeRange(0x2980, 0x29FF)] MiscellaneousMathematicalSymbolsB,
		[UnicodeRange(0x2600, 0x26FF)] MiscellaneousSymbols,
		[UnicodeRange(0x2B00, 0x2BFF)] MiscellaneousSymbolsandArrows,
		[UnicodeRange(0x2300, 0x23FF)] MiscellaneousTechnical,
		[UnicodeRange(0xA700, 0xA71F)] ModifierToneLetters,
		[UnicodeRange(0x1800, 0x18AF)] Mongolian,
		[UnicodeRange(0x1000, 0x109F)] Myanmar,
		[UnicodeRange(0xAA60, 0xAA7F)] MyanmarExtendedA,
		[UnicodeRange(0xA9E0, 0xA9FF)] MyanmarExtendedB,
		[UnicodeRange(0x1980, 0x19DF)] NewTaiLue,
		[UnicodeRange(0x07C0, 0x07FF)] NKo,
		[UnicodeRange(0x2150, 0x218F)] NumberForms,
		[UnicodeRange(0x1680, 0x169F)] Ogham,
		[UnicodeRange(0x1C50, 0x1C7F)] OlChiki,
		[UnicodeRange(0x2440, 0x245F)] OpticalCharacterRecognition,
		[UnicodeRange(0x0B00, 0x0B7F)] Oriya,
		[UnicodeRange(0xA840, 0xA87F)] Phagspa,
		[UnicodeRange(0x1D00, 0x1D7F)] PhoneticExtensions,
		[UnicodeRange(0x1D80, 0x1DBF)] PhoneticExtensionsSupplement,
		[UnicodeRange(0xA930, 0xA95F)] Rejang,
		[UnicodeRange(0x16A0, 0x16FF)] Runic,
		[UnicodeRange(0x0800, 0x083F)] Samaritan,
		[UnicodeRange(0xA880, 0xA8DF)] Saurashtra,
		[UnicodeRange(0x0D80, 0x0DFF)] Sinhala,
		[UnicodeRange(0xFE50, 0xFE6F)] SmallFormVariants,
		[UnicodeRange(0x02B0, 0x02FF)] SpacingModifierLetters,
		[UnicodeRange(0x1B80, 0x1BBF)] Sundanese,
		[UnicodeRange(0x1CC0, 0x1CCF)] SundaneseSupplement,
		[UnicodeRange(0x2070, 0x209F)] SuperscriptsandSubscripts,
		[UnicodeRange(0x27F0, 0x27FF)] SupplementalArrowsA,
		[UnicodeRange(0x2900, 0x297F)] SupplementalArrowsB,
		[UnicodeRange(0x2A00, 0x2AFF)] SupplementalMathematicalOperators,
		[UnicodeRange(0x2E00, 0x2E7F)] SupplementalPunctuation,
		[UnicodeRange(0xA800, 0xA82F)] SylotiNagri,
		[UnicodeRange(0x0700, 0x074F)] Syriac,
		[UnicodeRange(0x0860, 0x086F)] SyriacSupplement,
		[UnicodeRange(0x1700, 0x171F)] Tagalog,
		[UnicodeRange(0x1760, 0x177F)] Tagbanwa,
		[UnicodeRange(0x1950, 0x197F)] TaiLe,
		[UnicodeRange(0x1A20, 0x1AAF)] TaiTham,
		[UnicodeRange(0xAA80, 0xAADF)] TaiViet,
		[UnicodeRange(0x0B80, 0x0BFF)] Tamil,
		[UnicodeRange(0x0C00, 0x0C7F)] Telugu,
		[UnicodeRange(0x0780, 0x07BF)] Thaana,
		[UnicodeRange(0x0E00, 0x0E7F)] Thai,
		[UnicodeRange(0x0F00, 0x0FFF)] Tibetan,
		[UnicodeRange(0x2D30, 0x2D7F)] Tifinagh,
		[UnicodeRange(0x1400, 0x167F)] UnifiedCanadianAboriginalSyllabics,
		[UnicodeRange(0x18B0, 0x18FF)] UnifiedCanadianAboriginalSyllabicsExtended,
		[UnicodeRange(0xA500, 0xA63F)] Vai,
		[UnicodeRange(0xFE00, 0xFE0F)] VariationSelectors,
		[UnicodeRange(0x1CD0, 0x1CFF)] VedicExtensions,
		[UnicodeRange(0xFE10, 0xFE1F)] VerticalForms,
		[UnicodeRange(0x4DC0, 0x4DFF)] YijingHexagramSymbols,
		[UnicodeRange(0xA490, 0xA4CF)] YiRadicals,
		[UnicodeRange(0xA000, 0xA48F)] YiSyllables,

		/*[UnicodeRange(0xD800, 0xDB7F)] HighSurrogates,
		[UnicodeRange(0xDB80, 0xDBFF)] HighPrivateUseSurrogates,
		[UnicodeRange(0xDC00, 0xDFFF)] LowSurrogates,
		[UnicodeRange(0xE000, 0xF8FF)] PrivateUseArea,*/

		// Can they go over 0xffff? not as a char
		/*[UnicodeRange(0xFFF0, 0xFFFF)] Specials,
		[UnicodeRange(0x10000, 0x1007F)] LinearBSyllabary,
		[UnicodeRange(0x10080, 0x100FF)] LinearBIdeograms,
		[UnicodeRange(0x10100, 0x1013F)] AegeanNumbers,
		[UnicodeRange(0x10140, 0x1018F)] AncientGreekNumbers,
		[UnicodeRange(0x10190, 0x101CF)] AncientSymbols,
		[UnicodeRange(0x101D0, 0x101FF)] PhaistosDisc,
		[UnicodeRange(0x10280, 0x1029F)] Lycian,
		[UnicodeRange(0x102A0, 0x102DF)] Carian,
		[UnicodeRange(0x102E0, 0x102FF)] CopticEpactNumbers,
		[UnicodeRange(0x10300, 0x1032F)] OldItalic,
		[UnicodeRange(0x10330, 0x1034F)] Gothic,
		[UnicodeRange(0x10350, 0x1037F)] OldPermic,
		[UnicodeRange(0x10380, 0x1039F)] Ugaritic,
		[UnicodeRange(0x103A0, 0x103DF)] OldPersian,
		[UnicodeRange(0x10400, 0x1044F)] Deseret,
		[UnicodeRange(0x10450, 0x1047F)] Shavian,
		[UnicodeRange(0x10480, 0x104AF)] Osmanya,
		[UnicodeRange(0x104B0, 0x104FF)] Osage,
		[UnicodeRange(0x10500, 0x1052F)] Elbasan,
		[UnicodeRange(0x10530, 0x1056F)] CaucasianAlbanian,
		[UnicodeRange(0x10600, 0x1077F)] LinearA,
		[UnicodeRange(0x10800, 0x1083F)] CypriotSyllabary,
		[UnicodeRange(0x10840, 0x1085F)] ImperialAramaic,
		[UnicodeRange(0x10860, 0x1087F)] Palmyrene,
		[UnicodeRange(0x10880, 0x108AF)] Nabataean,
		[UnicodeRange(0x108E0, 0x108FF)] Hatran,
		[UnicodeRange(0x10900, 0x1091F)] Phoenician,
		[UnicodeRange(0x10920, 0x1093F)] Lydian,
		[UnicodeRange(0x10980, 0x1099F)] MeroiticHieroglyphs,
		[UnicodeRange(0x109A0, 0x109FF)] MeroiticCursive,
		[UnicodeRange(0x10A00, 0x10A5F)] Kharoshthi,
		[UnicodeRange(0x10A60, 0x10A7F)] OldSouthArabian,
		[UnicodeRange(0x10A80, 0x10A9F)] OldNorthArabian,
		[UnicodeRange(0x10AC0, 0x10AFF)] Manichaean,
		[UnicodeRange(0x10B00, 0x10B3F)] Avestan,
		[UnicodeRange(0x10B40, 0x10B5F)] InscriptionalParthian,
		[UnicodeRange(0x10B60, 0x10B7F)] InscriptionalPahlavi,
		[UnicodeRange(0x10B80, 0x10BAF)] PsalterPahlavi,
		[UnicodeRange(0x10C00, 0x10C4F)] OldTurkic,
		[UnicodeRange(0x10C80, 0x10CFF)] OldHungarian,
		[UnicodeRange(0x10E60, 0x10E7F)] RumiNumeralSymbols,
		[UnicodeRange(0x11000, 0x1107F)] Brahmi,
		[UnicodeRange(0x11080, 0x110CF)] Kaithi,
		[UnicodeRange(0x110D0, 0x110FF)] SoraSompeng,
		[UnicodeRange(0x11100, 0x1114F)] Chakma,
		[UnicodeRange(0x11150, 0x1117F)] Mahajani,
		[UnicodeRange(0x11180, 0x111DF)] Sharada,
		[UnicodeRange(0x111E0, 0x111FF)] SinhalaArchaicNumbers,
		[UnicodeRange(0x11200, 0x1124F)] Khojki,
		[UnicodeRange(0x11280, 0x112AF)] Multani,
		[UnicodeRange(0x112B0, 0x112FF)] Khudawadi,
		[UnicodeRange(0x11300, 0x1137F)] Grantha,
		[UnicodeRange(0x11400, 0x1147F)] Newa,
		[UnicodeRange(0x11480, 0x114DF)] Tirhuta,
		[UnicodeRange(0x11580, 0x115FF)] Siddham,
		[UnicodeRange(0x11600, 0x1165F)] Modi,
		[UnicodeRange(0x11660, 0x1167F)] MongolianSupplement,
		[UnicodeRange(0x11680, 0x116CF)] Takri,
		[UnicodeRange(0x11700, 0x1173F)] Ahom,
		[UnicodeRange(0x118A0, 0x118FF)] WarangCiti,
		[UnicodeRange(0x11A00, 0x11A4F)] ZanabazarSquare,
		[UnicodeRange(0x11A50, 0x11AAF)] Soyombo,
		[UnicodeRange(0x11AC0, 0x11AFF)] PauCinHau,
		[UnicodeRange(0x11C00, 0x11C6F)] Bhaiksuki,
		[UnicodeRange(0x11C70, 0x11CBF)] Marchen,
		[UnicodeRange(0x11D00, 0x11D5F)] MasaramGondi,
		[UnicodeRange(0x12000, 0x123FF)] Cuneiform,
		[UnicodeRange(0x12400, 0x1247F)] CuneiformNumbersandPunctuation,
		[UnicodeRange(0x12480, 0x1254F)] EarlyDynasticCuneiform,
		[UnicodeRange(0x13000, 0x1342F)] EgyptianHieroglyphs,
		[UnicodeRange(0x14400, 0x1467F)] AnatolianHieroglyphs,
		[UnicodeRange(0x16800, 0x16A3F)] BamumSupplement,
		[UnicodeRange(0x16A40, 0x16A6F)] Mro,
		[UnicodeRange(0x16AD0, 0x16AFF)] BassaVah,
		[UnicodeRange(0x16B00, 0x16B8F)] PahawhHmong,
		[UnicodeRange(0x16F00, 0x16F9F)] Miao,
		[UnicodeRange(0x16FE0, 0x16FFF)] IdeographicSymbolsandPunctuation,
		[UnicodeRange(0x17000, 0x187FF)] Tangut,
		[UnicodeRange(0x18800, 0x18AFF)] TangutComponents,
		[UnicodeRange(0x1B000, 0x1B0FF)] KanaSupplement,
		[UnicodeRange(0x1B100, 0x1B12F)] KanaExtendedA,
		[UnicodeRange(0x1B170, 0x1B2FF)] Nushu,
		[UnicodeRange(0x1BC00, 0x1BC9F)] Duployan,
		[UnicodeRange(0x1BCA0, 0x1BCAF)] ShorthandFormatControls,
		[UnicodeRange(0x1D000, 0x1D0FF)] ByzantineMusicalSymbols,
		[UnicodeRange(0x1D100, 0x1D1FF)] MusicalSymbols,
		[UnicodeRange(0x1D200, 0x1D24F)] AncientGreekMusicalNotation,
		[UnicodeRange(0x1D300, 0x1D35F)] TaiXuanJingSymbols,
		[UnicodeRange(0x1D360, 0x1D37F)] CountingRodNumerals,
		[UnicodeRange(0x1D400, 0x1D7FF)] MathematicalAlphanumericSymbols,
		[UnicodeRange(0x1D800, 0x1DAAF)] SuttonSignWriting,
		[UnicodeRange(0x1E000, 0x1E02F)] GlagoliticSupplement,
		[UnicodeRange(0x1E800, 0x1E8DF)] MendeKikakui,
		[UnicodeRange(0x1E900, 0x1E95F)] Adlam,
		[UnicodeRange(0x1EE00, 0x1EEFF)] ArabicMathematicalAlphabeticSymbols,
		[UnicodeRange(0x1F000, 0x1F02F)] MahjongTiles,
		[UnicodeRange(0x1F030, 0x1F09F)] DominoTiles,
		[UnicodeRange(0x1F0A0, 0x1F0FF)] PlayingCards,
		[UnicodeRange(0x1F100, 0x1F1FF)] EnclosedAlphanumericSupplement,
		[UnicodeRange(0x1F200, 0x1F2FF)] EnclosedIdeographicSupplement,
		[UnicodeRange(0x1F300, 0x1F5FF)] MiscellaneousSymbolsandPictographs,
		[UnicodeRange(0x1F600, 0x1F64F)] Emoticons,
		[UnicodeRange(0x1F650, 0x1F67F)] OrnamentalDingbats,
		[UnicodeRange(0x1F680, 0x1F6FF)] TransportandMapSymbols,
		[UnicodeRange(0x1F700, 0x1F77F)] AlchemicalSymbols,
		[UnicodeRange(0x1F780, 0x1F7FF)] GeometricShapesExtended,
		[UnicodeRange(0x1F800, 0x1F8FF)] SupplementalArrowsC,
		[UnicodeRange(0x1F900, 0x1F9FF)] SupplementalSymbolsandPictographs,
		[UnicodeRange(0x20000, 0x2A6DF)] CJKUnifiedIdeographsExtensionB,
		[UnicodeRange(0x2A700, 0x2B73F)] CJKUnifiedIdeographsExtensionC,
		[UnicodeRange(0x2B740, 0x2B81F)] CJKUnifiedIdeographsExtensionD,
		[UnicodeRange(0x2B820, 0x2CEAF)] CJKUnifiedIdeographsExtensionE,
		[UnicodeRange(0x2CEB0, 0x2EBEF)] CJKUnifiedIdeographsExtensionF,
		[UnicodeRange(0x2F800, 0x2FA1F)] CJKCompatibilityIdeographsSupplement*/
	}
}